package ita.class1.group2.supermarket.common.annotation;

import java.lang.annotation.*;

/**
 * RequestMapping allows the Captain to identify and map the request address to the method using the annotation.
 *
 * @author Burgess Li
 * @date 2018/07/19
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestMapping {

    String value() default "/";

}
